//
//  YKSelectView.h
//  YunKang
//
//  Created by leoking870 on 2017/9/29.
//  Copyright © 2017年 leoking870. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "YKDropdown.h"
@interface YKSelectView : UIView
- (instancetype)initWithTitle:(NSString*)title
                          row:(NSArray<YKDropdown>*)data
                  initialText:(id<YKDropdown>)initialText;

- (instancetype)initWithTitle:(NSString*)title
                          row:(NSArray<YKDropdown>*)data
                  initialText:(id<YKDropdown>)initialText
                      weights:(NSArray *)weights;
@property (nonatomic, strong) NSArray<YKDropdown> *data;
@property (nonatomic, assign)BOOL enabled;
@property (nonatomic, copy)void(^selectHandler)(id<YKDropdown> value);
@property (nonatomic, strong)id<YKDropdown> selectedRow;
@property (nonatomic, strong) UIColor *disableBackgroundColor;
@property (nonatomic, assign) CGFloat contentTopInset;
@end
